//
//  TLScrapView.h
//  KidReading
//
//  Created by telen on 16/5/30.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ScrapRectView : UIView
@property (nonatomic, strong) NSString* filePath;  //已经上传
@property (nonatomic, strong) NSString* localPath; //本地截图文件
@property (nonatomic, strong) NSDate* createTime;  //创建时间
@property (nonatomic, strong) NSDate* modyTime;    //修改时间
@end

@interface TLScrapView : UIView

@property(nonatomic,assign)BOOL canEdit;
@property(nonatomic,strong)void(^didModyScrapRect)(ScrapRectView*);
@property(nonatomic,strong)void(^didDelScrapRect)(ScrapRectView*);

- (void)removeScrapRect:(ScrapRectView*)screct;
- (ScrapRectView*)addScrapRectWithRect:(CGRect)frame filePath:(NSString*)urlPath localPath:(NSString*)localPath creatTime:(NSDate*)cttime modyTime:(NSDate*)mdtime;

@end
